Big refactor: get rid of parallel/async/serial features and instead use hierarchy to separate them#74
Big refactor: get rid of parallel/async/serial features and instead use hierarchy to separate them#74
Conversation
|
I agree with the changes. Overusing macros may lead to problems down the line where code completion tools become very hard to use. Additionally, the The caveat is that the inode mapping module, as well as the |
|
Thanks for your insight. You normally won't have to rework your inode mapping module and the HybridId ; those parts are common to all modes and are left untouched by my PR (it is only a reorganization). And because i will merge first your PR, i will take that into account. However it might indeed affect #73 or other changes you made. I think i will be able to do all changes this weekend :
|
Hi @khanhtranngoccva,
Because PR #73 will make big change to the existing "core" folder, i think i will merge before my branch "big_refactor" (it will be a major release : 0.5.0).
I hesitated to merge it at first because i didn't achieve async support. But if i don't merge it now, easy_fuser crate will drift away and i won't be able to merge it later.
For your information, here are the main changes :
PROS :
CONS :
I will wait to make that change in case you have a different opinion.